<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>管理员主页</title>
<link href="css/baitiao.css" rel="stylesheet" type="text/css" />
</head>
<body align="center"
	style="background-image: url(images/a.gif); background-size: 100%;">
	<%
        Object message = request.getAttribute("message");
        if (message != null && !"".equals(message)) {
    %>
	<script type="text/javascript">
              alert("<%=request.getAttribute("message")%>");
              var  asd=request.getAttribute("username");         
    </script>
	<%
        }
    %>
	<div style="margin-top: 50px">
	</div>
	<form action="Servlet?method=tiao" method="post">
		<div
			style="width: 450px; height: 230px; margin: auto; border: 5px solid black; border-radius: 35px; position: absolute; left: 50%; top: 40%; transform: translate(-50%, -50%);">
			<h1 style="text-align: center;">添加学生/老师信息</h1>

			<div align="center" style="height: 50px;">
				<th>类别</th> <select name="leibie">
					<option>学生</option>
					<option>老师</option>
				</select>
			</div>
			<div align="center" style="height: 50px;">
				<input type="submit" value="下一步"
					style="height: 40px; width: 80px; float: left; margin-left: 120px" />
				<input type="button" value="返回首页"
					style="height: 40px; width: 80px; float: right; margin-right: 120px"
					onclick="location.href='index.jsp'" />
			</div>
		</div>

	</form>
	<div
		style="width: 100%; height: 50px; position: absolute; bottom: 30%;">
		<h1 style="color: black">当前用户：${prename }</h1>
	</div>


</body>

</html>
